// SetTextDialog.cpp : implementation file
//

#include "stdafx.h"
#include "../include/UMyChart9.h"
#include "SetTextDialog.h"


// CSetTextDialog dialog
#ifdef _DEBUG
	#undef THIS_FILE
	static char THIS_FILE[] = __FILE__;
	#define new DEBUG_NEW
#endif

IMPLEMENT_DYNAMIC(CSetTextDialog, CDialog)

CSetTextDialog::CSetTextDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CSetTextDialog::IDD, pParent)
	, m_strText(_T(""))
{

}

CSetTextDialog::~CSetTextDialog()
{
}

void CSetTextDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT_TEXT, m_strText);
}


BEGIN_MESSAGE_MAP(CSetTextDialog, CDialog)
	ON_BN_CLICKED(IDOK, &CSetTextDialog::OnBnClickedOk)
END_MESSAGE_MAP()


// CSetTextDialog message handlers

void CSetTextDialog::OnBnClickedOk()
{
	UpdateData();
	OnOK();
}
